From: Miguel Gómez Date: Mon, 18 Jun 2012 11:12:02 +0000 (+0200) Subject: Staging: xgifb: define real dumpVGAReg() content only in DEBUG mode. X-Git-Tag: archive/raspbian/4.9.13-1+rpi1~10^2~10673^2~717 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=96cd1f8b41c36c2520cc8b524734784a9e995ff2;p=linux-4.9.git Staging: xgifb: define real dumpVGAReg() content only in DEBUG mode. Define real content of dumpVGAReg() only in debug mode. Remove old condition. Signed-off-by: Miguel Gómez Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/xgifb/XGI_main_26.c b/drivers/staging/xgifb/XGI_main_26.c index 9ffc85377c60..a45a497115ed 100644 --- a/drivers/staging/xgifb/XGI_main_26.c +++ b/drivers/staging/xgifb/XGI_main_26.c @@ -30,9 +30,7 @@ static unsigned int refresh_rate; /* -------------------- Macro definitions ---------------------------- */ -#undef XGIFBDEBUG - -#ifdef XGIFBDEBUG +#ifdef DEBUG static void dumpVGAReg(void) { u8 i, reg;